﻿using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using System;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class t_smd_ChildProcess : DataObject
    {
        [ID]
        [IDENTITY]
        [Column]
        public int ID { get { return fID; } set { fID = value; EntityState.FieldChange("ID"); } } private int fID; public static FieldInfo _ID = new FieldInfo("t_smd_Relation", "ID");
        [Column]
        public string BusinessKey { get { return fBusinessKey; } set { fBusinessKey = value; EntityState.FieldChange("BusinessKey"); } } private string fBusinessKey; public static FieldInfo _BusinessKey = new FieldInfo("t_smd_Relation", "BusinessKey");
        [Column]
        public string Process { get { return fProcess; } set { fProcess = value; EntityState.FieldChange("Process"); } } private string fProcess; public static FieldInfo _Process = new FieldInfo("t_smd_Relation", "Process");
        [Column]
        public int Incident { get { return fIncident; } set { fIncident = value; EntityState.FieldChange("Incident"); } } private int fIncident; public static FieldInfo _Incident = new FieldInfo("t_smd_Relation", "Incident");
        [Column]
        public string BusinessProcess { get { return fBusinessProcess; } set { fBusinessProcess = value; EntityState.FieldChange("BusinessProcess"); } } private string fBusinessProcess; public static FieldInfo _BusinessProcess = new FieldInfo("t_smd_Relation", "BusinessProcess");
        [Column]
        public string Status { get { return fStatus; } set { fStatus = value; EntityState.FieldChange("Status"); } } private string fStatus; public static FieldInfo _Status = new FieldInfo("t_smd_Relation", "Status");
        [Column]
        public string AbortReason { get { return fAbortReason; } set { fAbortReason = value; EntityState.FieldChange("AbortReason"); } } private string fAbortReason; public static FieldInfo _AbortReason = new FieldInfo("t_smd_Relation", "AbortReason");
        [Column]
        public DateTime? AbortTime { get { return fAbortTime; } set { fAbortTime = value; EntityState.FieldChange("AbortTime"); } } private DateTime? fAbortTime; public static FieldInfo _AbortTime = new FieldInfo("t_smd_Relation", "AbortTime");
        [Column]
        public string AbortUser { get { return fAbortUser; } set { fAbortUser = value; EntityState.FieldChange("AbortUser"); } } private string fAbortUser; public static FieldInfo _AbortUser = new FieldInfo("t_smd_Relation", "AbortUser");



    }
}
